<template>
  <div class="home">
    <el-container>
      <el-aside width="200px">
        <ul>
          <router-link to='/dochome/dochomes' tag="li">首页</router-link>
          <router-link to='/dochome/inquiry' tag="li">问诊</router-link>
          <router-link to='/dochome/project' tag="li">项目</router-link>
          <router-link to='/dochome/cashout' tag="li">提现</router-link> 
        </ul>
      </el-aside>
      <el-container>
        <el-header><h2 class="left">美洽智慧医疗系统</h2><p class="right"><i class="iconfont icon-naoling"></i>&nbsp;&nbsp;&nbsp;<i class="iconfont icon-jingjirenjinglikehumianxingcopy"></i><b>王宝宝</b><span>&nbsp;&nbsp;&nbsp;2020年12月18日</span></p></el-header>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
    name:'dochome'
}
</script>

<style>
  .el-header, .el-footer {
    background-color: #fff;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  .el-header .left{
    float: left;
  }
  .el-header .right{
    float: right;
  }
  .icon-naoling{
    color: cornflowerblue;
  }
  .icon-jingjirenjinglikehumianxingcopy{
    color: cornflowerblue;
  }

  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: left;
    text-align: center;
    /* line-height: 160px; */
    line-height: 160px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
</style>